package org.myproject.persistence;

import org.myproject.persistence.query.QueryParam;
import org.hibernate.Query;
import org.hibernate.Session;

/**
 * Basic abstraction to hibernate {@link Session} that allows addition of
 * convinience methods.
 * 
 * @author ivaynberg
 * 
 */
public interface Dao extends org.hibernate.Session {

	Query createQuery(String hql, QueryParam param);
}
